<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SmartyDeer Game</title>

<script type="text/javascript"  src="../../flash/FlashCore.js"></script>
<script type="text/javascript"  src="../../flash/JSTweener.js"></script>

 <script type="text/javascript" src="../../flash/geom/Point.js"></script> 
 <script type="text/javascript" src="../../flash/geom/Rectangle.js"></script> 
 <script type="text/javascript" src="../../flash/geom/Matrix.js"></script> 

 <script type="text/javascript" src="../../flash/ui/Mouse.js"></script> 
 <script type="text/javascript" src="../../flash/ui/Keyboard.js"></script> 

 <script type="text/javascript" src="../../flash/events/Event.js"></script> 
 <script type="text/javascript" src="../../flash/events/EventDispatcher.js"></script> 
 <script type="text/javascript" src="../../flash/events/KeyboardEvent.js"></script> 
 <script type="text/javascript" src="../../flash/events/MouseEvent.js"></script> 
 <script type="text/javascript" src="../../flash/events/ProgressEvent.js"></script> 
 <script type="text/javascript" src="../../flash/events/TimerEvent.js"></script> 
 <script type="text/javascript" src="../../flash/events/IOErrorEvent.js"></script> 

 <script type="text/javascript" src="../../flash/net/URLVariables.js"></script> 
 <script type="text/javascript" src="../../flash/net/URLRequest.js"></script> 
 <script type="text/javascript" src="../../flash/net/URLRequestMethod.js"></script> 
 <script type="text/javascript" src="../../flash/net/URLLoaderDataFormat.js"></script> 
 <script type="text/javascript" src="../../flash/net/URLLoader.js"></script> 
 
  <script type="text/javascript" src="../../flash/resource/ResVO.js"></script> 
 <script type="text/javascript" src="../../flash/resource/ResLoadedEvent.js"></script> 
 <script type="text/javascript" src="../../flash/resource/ResProgressEvent.js"></script> 
 <script type="text/javascript" src="../../flash/resource/ResPool.js"></script> 

<script type="text/javascript"  src="../../flash/display/DisplayObject.js"></script>
<script type="text/javascript"  src="../../flash/display/InteractiveObject.js"></script>
<script type="text/javascript"  src="../../flash/display/DisplayObjectContainer.js"></script>
<script type="text/javascript"  src="../../flash/display/Stage.js"></script>
<script type="text/javascript"  src="../../flash/display/BitmapData.js"></script>
<script type="text/javascript"  src="../../flash/display/Bitmap.js"></script>
<script type="text/javascript"  src="../../flash/display/Loader.js"></script>
<script type="text/javascript"  src="../../flash/display/Graphics.js"></script>
<script type="text/javascript"  src="../../flash/display/Shape.js"></script>
<script type="text/javascript"  src="../../flash/display/Sprite.js"></script>
<script type="text/javascript"  src="../../flash/display/MovieClip.js"></script>
<script type="text/javascript"  src="../../flash/display/MovieClip2.js"></script>
<script type="text/javascript"  src="../../flash/display/SimpleButton.js"></script>

<script type="text/javascript"  src="../../flash/text/TextBaseline.js"></script>
<script type="text/javascript"  src="../../flash/text/TextFieldAlign.js"></script>
<script type="text/javascript"  src="../../flash/text/TextField.js"></script>

<script type="text/javascript"  src="../../flash/animation/ActionVO.js"></script>
<script type="text/javascript"  src="../../flash/animation/AnimationEvent.js"></script>
<script type="text/javascript"  src="../../flash/animation/AnimationPlayMode.js"></script>
<script type="text/javascript"  src="../../flash/animation/Animation.js"></script>

<script type="text/javascript"  src="../../flash/utils/GlobalUtil.js"></script>
<script type="text/javascript"  src="../../flash/utils/Stats.js"></script>
<script type="text/javascript"  src="../../flash/utils/Timer.js"></script>
<script type="text/javascript"  src="../../flash/utils/HashMap.js"></script>
 

 <!--<script type="text/javascript"  src="flashjs.min.js"></script>-->
<!-- 上面为框架-->
<!-- /////////////////////////////////////////////////////////////////////////////-->
<!-- 下面为本游戏的类-->

<script type="text/javascript"  src="classes/utils/ResManager.js"></script>
<script type="text/javascript"  src="classes/utils/CandyAndGiftFactory.js"></script>

<script type="text/javascript"  src="classes/comm/GameSetting.js"></script>
<script type="text/javascript"  src="classes/comm/GlobalDispatcher.js"></script>
<script type="text/javascript"  src="classes/comm/GlobalEvent.js"></script>
<script type="text/javascript"  src="classes/events/ScoreEvent.js"></script>

<script type="text/javascript"  src="classes/levels/BaseLevel.js"></script>
<script type="text/javascript"  src="classes/levels/Level1.js"></script>

<script type="text/javascript"  src="classes/scenes/elements/Candy.js"></script>
<script type="text/javascript"  src="classes/scenes/elements/Gift.js"></script>
<script type="text/javascript"  src="classes/scenes/elements/Hero.js"></script>
<script type="text/javascript"  src="classes/scenes/elements/Road.js"></script>

<script type="text/javascript"  src="classes/views/BaseView.js"></script>
<script type="text/javascript"  src="classes/views/StartView.js"></script>
<script type="text/javascript"  src="classes/views/BlankLayer.js"></script>
<script type="text/javascript"  src="classes/views/PassView.js"></script>

<script type="text/javascript"  src="classes/scenes/GameWorld.js"></script>
<script type="text/javascript"  src="classes/scenes/GameLayer.js"></script>

<script type="text/javascript"  src="classes/SmartyDeer.js"></script>


<!--<script type="text/javascript"  src="deer.min.js"></script> -->

<script type="text/javascript" >
window.onload = function(){
	//框架主程序入口
	var engine = new FlashCore();
	engine.setCanvas( document.getElementById("cav"));
	engine.hideRightMenu();
	engine.setMouseEnabled(true);
	//对stage进行一些参数设置
	var stage = FlashCore.stage;
	stage.setFrameRate(30) ;
	engine.start();  //引擎开始
	
	//主程序
	var mainApp = new SmartyDeer();
	stage.addChild(mainApp);
	
	//帧频显示
	var stats = new Stats();
	stage.addChild(stats);
	
} ;

</script>
</head>
<body style="text-align:center;">
<canvas id="cav" width="760" height="600" style="background-color: #000000 ; background-image: url('imgs/back.jpg'); ">
	你的浏览器不支持HTML5。请使用Chrome浏览器
</canvas>
</body>
</html>